package com.jjwxc.jwjskandriod.model;

import java.util.List;

public class GiftRankResponse {


    /**
     * code : 200
     * message : 操作成功
     * data : {"ranks":[{"username":"书友83368570","userImg":"https://niffty-test.s3.ap-southeast-1.amazonaws.com/1680851706149481398.png","amount":300,"rank":1}],"userRank":1,"distanceAmount":0}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * ranks : [{"username":"书友83368570","userImg":"https://niffty-test.s3.ap-southeast-1.amazonaws.com/1680851706149481398.png","amount":300,"rank":1}]
         * userRank : 1
         * distanceAmount : 0
         */

        private int userRank;
        private int distanceAmount;
        private List<RanksBean> ranks;

        public int getUserRank() {
            return userRank;
        }

        public void setUserRank(int userRank) {
            this.userRank = userRank;
        }

        public int getDistanceAmount() {
            return distanceAmount;
        }

        public void setDistanceAmount(int distanceAmount) {
            this.distanceAmount = distanceAmount;
        }

        public List<RanksBean> getRanks() {
            return ranks;
        }

        public void setRanks(List<RanksBean> ranks) {
            this.ranks = ranks;
        }

        public static class RanksBean {
            /**
             * username : 书友83368570
             * userImg : https://niffty-test.s3.ap-southeast-1.amazonaws.com/1680851706149481398.png
             * amount : 300
             * rank : 1
             */

            private String username;
            private String userImg;
            private int amount;
            private int rank;

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getUserImg() {
                return userImg;
            }

            public void setUserImg(String userImg) {
                this.userImg = userImg;
            }

            public int getAmount() {
                return amount;
            }

            public void setAmount(int amount) {
                this.amount = amount;
            }

            public int getRank() {
                return rank;
            }

            public void setRank(int rank) {
                this.rank = rank;
            }
        }
    }
}
